package org.soarsky.wealthchengdu.entity;

/**
 * 数据结果集返回
 *
 * @param <T>
 */
public class JsonResult<T> {

	//返回错误码
	private String code=null;
	private String msg=null;
	//该数据是否异常
	private boolean isError=false;
	//返回的解析好了的json数据
	private T data;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public boolean isError() {
		return isError;
	}
	public void setError(boolean isError) {
		this.isError = isError;
	}
	
}
